#ifndef PipeSupportH
#define PipeSupportH
//-----------------------------------------------------------------------------
//#include <SmartWin.h>
#include <stdio.h>
//-----------------------------------------------------------------------------
#define PIPE_CORRECT_OPERATION              0x1000
#define PIPE_BAD_CONNECTION                 0x1001
#define PIPE_NO_OPERATION                   0x1002

#define BUFSIZE                             0x1000
//-----------------------------------------------------------------------------
typedef struct{
    char *PipeName;
    void *Server;
}PipeServerThread;
typedef struct{
    void *Client;
    void *Server;
    HANDLE hPipe;
    HANDLE Thread;
}PipeClientThread;
//-----------------------------------------------------------------------------
#endif
